package com.yaoge.after.service.impl;

import com.yaoge.after.service.DoSell;
import com.yaoge.after.service.Price;

public class DoSellImpl implements DoSell {
    public String  Sell(int count) {
        Integer price=count*20;
        System.out.println("卖出去了"+count+"件，"+"一共"+price+"元");
        String s=new String(price.toString());
        return  s;
    }

    public Price Sell1(int count) {
        Price price=new Price();
        Integer price1=count*20;
        price.setS(price1);
        System.out.println("卖出去了"+count+"件，"+"一共"+price+"元");
        return price;
    }
}
